package name.jautzy.esi.client.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import java.util.List;

import name.jautzy.esi.client.model.*;

@RemoteServiceRelativePath("evedbquery")
public interface EveDatabaseService extends RemoteService {
	public List<EdbObject> getCategories();
	public List<EdbObject> getGroups(EdbCategory parent);
	public List<EdbGroup> getShipGroups();
	public List<EdbObject> getEquipments(EdbGroup parent);
	public List<EdbObject> getObjects(EdbObject parent);
	public List<EdbEffect> getEffects(EdbEquipment parent);
	public List<EdbAttribute> getAttributes(EdbEquipment parent);
	public List<EdbBonus> getBonus(EdbEquipment parent);
	public void updateBonus(List<EdbBonus> bonuses, EdbEquipment parent);
	public void removeBonus(List<EdbBonus> bonuses);

}
